import request from "@/utils/request.js"

// 获取地区下级列表
export function getChildAreaList(data) {
	return request({
		url: '/api/address/area_list',
		method: 'GET',
		data,
	})
}

// 获取微信公众号js配置信息
export function wxTicketConfig(data) {
	return request({
		url: '/api/login/wx_js_config',
		method: 'GET',
		data
	})
}

// 发送短信验证码
export function sendSms(data) {
	return request({
		url: '/stock-api/login/sendSms',
		method: 'POST',
		data
	})
}